package com.neusoft.chanceserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 机会关系表
 * </p>
 *
 * @author liuxp
 * @since 2021-07-12
 */
public class ChanceSubchance implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 机会关系id
     */
    @TableId(value = "chance_relation_id", type = IdType.AUTO)
    private Integer chanceRelationId;

    /**
     * 主机会编号
     */
    private Integer chanceId;

    /**
     * 子机会编号
     */
    private Integer subchanceId;


    public Integer getChanceRelationId() {
        return chanceRelationId;
    }

    public void setChanceRelationId(Integer chanceRelationId) {
        this.chanceRelationId = chanceRelationId;
    }

    public Integer getChanceId() {
        return chanceId;
    }

    public void setChanceId(Integer chanceId) {
        this.chanceId = chanceId;
    }

    public Integer getSubchanceId() {
        return subchanceId;
    }

    public void setSubchanceId(Integer subchanceId) {
        this.subchanceId = subchanceId;
    }

    @Override
    public String toString() {
        return "ChanceSubchance{" +
        "chanceRelationId=" + chanceRelationId +
        ", chanceId=" + chanceId +
        ", subchanceId=" + subchanceId +
        "}";
    }
}
